<form id="appForm" method="post" enctype="multipart/form-data">
	<table class="formTable">
		<tr>
			<td class="table_left"><font color="red">*</font>版本号：</td>
			<td>
				<input type="hidden" name="id"/>
				<input name="versionName" data-options="required:true,width: 200" type="text" class="easyui-textbox"/> 
			</td>
			<td class="table_left"><font color="red">*</font>自然数版本号：</td>
			<td><input name="versionCode" data-options="required:true,width: 200" type="text" class="easyui-textbox"/></td>
		<tr>
			<td class="table_left"><font color="red">*</font>类型：</td>
		    <td><select id="type" name="type"></select></td>
			<td class="table_left">是否强制升级：</td>
		    <td><select class="easyui-combobox" name="isImposed" data-options="width: 200,editable:false"><option value="1">是</option><option value="0" selected>否</option></select></td>
		</tr>
		<tr id="file1">
			<td class="table_left">app上传：</td>
			<td colspan="3"><input name="apkUrl1"  data-options="width: 250,prompt:'请选择文件...'"  class="easyui-filebox"/></td>
		</tr>
		<tr>
			<td class="table_left">描述：</td>
			<td colspan="3">
				<input class="easyui-textbox" name="remark" data-options="multiline:true" value="" style="width:250px;height:80px">
			</td>
		</tr>
	</table>
</form>
<script type="text/javascript">
JSmile.KEasy.initForm("#appForm","/sys_app/saveORupdate"); 
$('#type').combobox({
    url:JSmile.baseUrl+'/sys_dictionary/findAll?type=app.category.',
    valueField:'value',
    textField:'label',
    width:200,
    editable:false,
    required:true
});
</script>